﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FlyingAPI
{
    public class ImageInfo
    {
        public ImageInfo()
        {
        }
        public ImageInfo(String imageUrl, String imageRef,String concept,int pageID)
        {
            this.url = imageUrl;
            this.relatedPage = imageRef;
            this.concept = concept;
            this.pageId = pageID;
        }
        public ImageInfo(String imageUrl, String imageRef, String tags, String concept, int pageID)
        {
            this.url = imageUrl;
            this.relatedPage = imageRef;
            this.tags = tags;
            this.concept = concept;
            this.pageId = pageID;
        }
        public ImageInfo(String imageUrl, String imageRef, String tags, String photoid, String author, 
            String concept, int pageID)
        {
            this.url = imageUrl;
            this.relatedPage = imageRef;
            this.tags = tags;
            this.sourcePhotoId = photoid;
            this.author = author;
            this.concept = concept;
            this.pageId = pageID;
        }
        private int imageId;

        public int ImageId
        {
            get { return imageId; }
            set { imageId = value; }
        }

        private String url;
        public String Url
        {
            get { return url; }
            set { url = value; }
        }

        private String relatedPage;
        public String RelatedPage
        {
            get { return relatedPage; }
            set { relatedPage = value; }
        }
        private int pageId;//jobPage的ID，不是page号

        public int PageId
        {
            get { return pageId; }
            set { pageId = value; }
        }
        private String cachedUrl;

        public String CachedUrl
        {
            get { return cachedUrl; }
            set { cachedUrl = value; }
        }
        private String cacheState;

        public String CacheState
        {
            get { return cacheState; }
            set { cacheState = value; }
        }

        private String tags;

        public String Tags
        {
            get { return tags; }
            set { tags = value; }
        }

        private String sourcePhotoId;
        public String SourcePhotoId
        {
            get { return sourcePhotoId; }
            set { sourcePhotoId = value; }
        }

        private String author;
        public String Author
        {
            get { return author; }
            set { author = value; }
        }

        private String concept;
        public String Concept
        {
            get { return concept; }
            set { concept = value; }
        }

    }
}